package Model;

/**
 * Any given puzzle game
 * Reduces the # of dependencies of the controller
 * -Created Class(Feb 2,2011)
 * Samual Martelli
 * </pre>
 */
public class Game {

	//Globals to be used when initialising,loading, or drawing Game
	public static final String PACMAN_GAME = "PACMAN";
	public static final String MOUSE_GAME= "ESCAPE MOUSELAND";
	public static final String BUNNY_GAME = "FRISKY BUNNY";
	
	
	private int score;
	private int level;
	private String gameType;
	private boolean gameOver;
	
	//Useful for loading a saved game with each saved attribute
	public Game(int currentScore,int currentLevel,String type){
		 gameType = type;
		 level = currentLevel;
		 score = currentScore;;
		 gameOver = false;
	}
	
	//Useful for loading level after a death
	public Game(int currentLevel,String type){
		 gameType = type;
		 level = currentLevel;
		 gameOver = false;
	}
	
	//Standard constructor for implementing game without levels
	public Game(String type){
	     gameType = type;
	     gameOver = false;
	}
	
	//Standard newgame for implementing game without levels
	public void newGame(){
		 gameOver = false;
	}
	
	//New Game implementing game with levels
	public void newGame(int level){
		 gameOver = false;
		 
	}
	
	public boolean isGameOver(){
		return gameOver;
	}
	
	public void exitGame(){
		
	}

	public int getLevel() {
		return level;
	}

	public int getScore() {
		return score;
	}

	

	public String getGameType() {
		return gameType;
	}
}
